<%@ Page Language="C#" AutoEventWireup="true" CodeFile="doctorChangePassword.aspx.cs" Inherits="Doctor_doctorChangePassword" Title="Find a Doc - Change Password" MasterPageFile="~/MainMaster.master" %>


<%@ Register Src="../includes/DoctorMenu.ascx" TagName="DoctorMenu" TagPrefix="uc2" %>
<%@ MasterType VirtualPath="~/MainMaster.master" %>
<%@ Register src="../includes/myAccount.ascx" tagname="myAccount" tagprefix="uc3" %>
<asp:Content ContentPlaceHolderID="MainTable" runat="server">
    <div class="heading_inner">
        <div class="heading_topic">
            <h2>Change Password</h2>
        </div>
    </div>

    <div class="cl"></div>



    <div class="account_new">

        <div class="acc_nav">
       
            
            <uc3:myAccount ID="myAccount1" runat="server" />
        </div>




        <div class="part_1_pass">
            <div class="heading_account">
                <%--<h2>Welcome,</h2>
                        <h3>Elliot Fishman</h3>
                        <h4>- Radiology</h4>--%>
                <uc2:DoctorMenu ID="DoctorMenu1" runat="server" />
            </div>

            <div class="upper_acc">

                <div class="lft_up_acc"></div>
                <div class="center_stroke_acc">
                    <div class="form_head_acc">Change Password</div>
                </div>
                <div class="right_up_acc"></div>
            </div>


            <div class="doc_pass_acc">
                <table width="686" border="0" cellspacing="3" class="table_info_acc">
                    <%if (lblAccessMessage.Text.Trim().Length > 0)
                      { %>
                    <tr>
                        <td align="center" colspan="4">
                            <asp:Label ID="lblAccessMessage" runat="server" ForeColor="Red"></asp:Label></td>
                    </tr>
                    <tr style="color: #000000">
                        <td align="left" colspan="4" style="height: 7px">&nbsp;
                        </td>
                    </tr>
                    <%} %>
                    <tr>
                        <td>OLD PASSWORD* : </td>
                        <td>
                            <asp:TextBox ID="txtOPass" runat="server" CssClass="design" MaxLength="50"
                                Width="190px" TextMode="Password"></asp:TextBox>
                        </td>
                        <td width="152">NEW PASSWORD* : </td>
                        <td width="171">
                            <asp:TextBox ID="txtPass" runat="server" CssClass="design" MaxLength="50" Width="190px" TextMode="Password"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="159">RETYPE PASSWORD* : </td>
                        <td width="181">
                            <asp:TextBox ID="txtPass1" runat="server" CssClass="design" MaxLength="50" Width="190px" TextMode="Password"></asp:TextBox>
                        </td>
                        <td colspan="2"><font color="#153c60">(You will log-in with this email-id as your username.)</font></td>
                    </tr>

                    <tr>
                        <td width="159">&nbsp;</td>
                        <td width="181">

                            <asp:Button ID="btnSubmit" runat="server" Height="30px" CssClass="buttonclass" Text="Submit" OnClick="btnSubmit_Click" Width="90px" />
                        </td>
                        <td colspan="2">&nbsp;</td>
                    </tr>


                </table>
            </div>
        </div>
        <!--formcontainer ends-->
    </div>


    

</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="scriptContent" runat="server">
    <script>
        //You should create the validator only after the definition of the HTML form		
        var frmvalidator = new Validator("aspnetForm", "<%=btnSubmit.ClientID%>");
        frmvalidator.addValidation("<%=txtOPass.ClientID %>", "req", "Please Enter old password.");
        frmvalidator.addValidation("<%=txtPass.ClientID %>", "req", "Please Enter new password.");
        frmvalidator.addValidation("<%=txtPass1.ClientID %>", "req", "Please Enter confirm new password.");
        frmvalidator.addValidation("<%=txtPass1.ClientID %>", "compare", "<%=txtPass.ClientID %>|Passwords not matched.");	    
	
    </script>
</asp:Content>
